package Plants;

public class PeaShooter {
    private String name;
    private int live;
    private int fire;

    public PeaShooter(String name, int live, int fire) {
        this.name = name;
        this.live = live;
        this.fire = fire;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getLive() {
        return live;
    }

    public void setLive(int live) {
        this.live = live;
    }

    public int getFire() {
        return fire;
    }

    public void setFire(int fire) {
        this.fire = fire;
    }

    @Override
    public String toString() {
        return "PeaShooter{" +
                "name='" + name + '\'' +
                ", live=" + live +
                ", fire=" + fire +
                '}';
    }
}
